package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.UnitStudyStatus;
import com.danciyixue.boot.dcyx.model.form.UnitStudyStatusForm;

/**
 * 用户单元学习状态对象转换器
 *
 * @author youlaitech
 * @since 2025-06-27 11:06
 */
@Mapper(componentModel = "spring")
public interface UnitStudyStatusConverter{

    UnitStudyStatusForm toForm(UnitStudyStatus entity);

    UnitStudyStatus toEntity(UnitStudyStatusForm formData);
}